home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 11 / Mac Magazin and MacEasy Magazine CD - Issue 11.iso / Sharewarebibliothek / DFÜ / imagemap FAT / demomap / DemoPicture.map < prev    next >
Text File  |  1995-05-16  |  3KB  |  85 lines

  1. # DemoPicture.map
  2. #
  3. # Example Mac-imagemap map file.
  4. # by: Lutz Weimann
  5. # latest modification at: 16th May 1995
  6. #
  7.  
  8. # uncomment the following line to switch testmode on:
  9. #testmode
  10.  
  11. # default originally defines the URL to be returned, if no region
  12. # specified below has been clicked: just points to some homepage.
  13. # (Should actually never be referenced, since point specifications
  14. # follow below.)
  15. # Note: "$RefURL" is a "special-URL", which substitutes imagemap.cgi
  16. # by the URL of the HTML-page where the user clicked on the map.
  17. # It works only with Web-browsers which send the "X-Referer:"-line
  18. # with their HTTP-request.
  19. #
  20. default $RefURL
  21.  
  22. # point xp,yp - specifies a point. The URL of the nearest point replaces
  23. # the 
  24. # Each click outside a specific area within the left pictures side
  25. # map to the following url:
  26. point /imagemap/demomap/other_left.html
  27. 2,100
  28.  
  29. # Each click outside a specific area within the right pictures side
  30. # map to the following url:
  31. point /imagemap/demomap/other_right.html 399,100
  32.  
  33. # rect defines a rectangle by its upper left and lower right corner.
  34. #
  35. rect /imagemap/demomap/green_rect.gif 36,25 99,99
  36.  
  37. # note: the following area (yellow rectangle) lies within the area of 
  38. #       red_circle. Since the first match in order is returned to the
  39. #       Web-client, yellow_rect will be newer returned if placed after
  40. #       red_circle.
  41. #
  42. rect /imagemap/demomap/yellow_rect.gif 162,60 192,79
  43.  
  44. # circle defines a circle by the circles middle point and
  45. # an arbitrary point on the circles edge.
  46. #
  47. circle /imagemap/demomap/red_circle.gif 176,67 214,67
  48.  
  49. # circ defines a circle or an ellipse by the upper left and
  50. # lower right corner of the covering rectangle.
  51. #
  52. # this specification will be probably not understood by the
  53. # httpd-imagemap program, and so, it has been written as a pseudo
  54. # comment. So this map file can be used by httpd-imagemap under
  55. # UNIX without any modifications (please tell me if I'm wrong with
  56. # this statement). This statement is interpreted by
  57. # Mac-imagemap, just as there were no leading characters #$ .
  58. #
  59. #$circ /imagemap/demomap/cyan_ellipse.gif 54,128 145,175
  60.  
  61. # circrad defines a circle by its center point and its radius.
  62. # this type of specification will no longer be supported within
  63. # future versions. Use instead of 
  64. # "circrad x,y r" the specification "circle x,y x+r,y"
  65. #
  66. #$circrad /imagemap/demomap/blue_circle.gif 286,149 24
  67.  
  68. # Finally, two arbitrary polygonal regions are defined within
  69. # this map. Note that the first point and the last point of the
  70. # polygons match, just as you will get it usually when generating
  71. # these lines with WebMap. If the last point does not match the
  72. # first one, Mac-ImageMap internally adds a point to the polygon
  73. # behind the last one which has the same coordinates as the first
  74. # polygon-point.
  75. # Note also that the poly-specifications are written on multiple
  76. # lines. Mac-ImageMap just checks, if a line begins with a letter
  77. # (lowercase or uppercase) to identify a line where a new 
  78. # specification begins.
  79. #
  80. poly /imagemap/demomap/pink_poly.gif 182,126
  81. 206,126 215,143 215,166 203,178 180,178 169,168 169,141 182,126
  82.  
  83. poly /imagemap/demomap/green_poly.gif 301,11
  84. 321,51 349,51 319,81 343,107 296,83 250,110 277,81 246,50 273,51 301,11
  85.